package org.xianzhi.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import org.springframework.web.multipart.MultipartFile;
import org.xianzhi.bean.Ad;

/**
 * 数据传输对象与广告有关
 * 与数据库的表没有关系，用来在页面与controller或service传输数据
 */
@JsonInclude(Include.NON_NULL)
public class AdDto extends Ad {
	private String img;

	private MultipartFile imgFile;

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public MultipartFile getImgFile() {
		return imgFile;
	}

	public void setImgFile(MultipartFile imgFile) {
		this.imgFile = imgFile;
	}

}
